package com.xxx.seckill.service;

import com.xxx.seckill.pojo.TGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxx.seckill.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XXX
 * @since 2023-01-04
 */
public interface TGoodsService extends IService<TGoods> {
    /**
     * 根据商品id跳转商品详情页面
     * @param goodsId
     * @return
     */
    GoodsVo findGoodsVoByGoodsId(Long goodsId);

    /**
     * 获取商品列表
     * @return
     */
    List<GoodsVo> findGoodsVo();

    
}
